//
//  GZLogManager.h
//  GZLogger
//
//  Created by GR on 2018/12/20.
//  Copyright © 2018 GR. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "GZLogLevel.h"

@class GZLogItem;
@protocol GZLogger;

@interface GZLogManager : NSObject

+ (instancetype)sharedInstance;

- (void)addLogger:(id<GZLogger>)logger;
- (void)removeLogger:(id<GZLogger>)logger;
- (NSArray<id<GZLogger>> *)allLoggers;

- (void)recordWithLevel:(GZLogLevel)level
                    tag:(NSString *)tag
                   file:(NSString *)file
               function:(NSString *)function
                   line:(NSUInteger)line
                content:(NSString *)content
             stackLevel:(NSUInteger)stackLevel
           dataFileName:(NSString *)dataFileName;

@end

